from django.conf.urls import patterns, url
from myauth.views import vk_view, fb_view
from django.views.generic import TemplateView

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
	url(r'vk', vk_view ),
	url(r'fb', fb_view ),
	url(r'fb_channel.html', TemplateView.as_view( template_name = 'fb_channel.html' ) ),
)



"""from django.conf.urls.defaults import *
from orders.views import OrdersView, OrderDetailView

from django.contrib.auth.decorators import login_required

urlpatterns = patterns(	'',
			url( r'(\d+)', login_required( OrderDetailView.as_view() ) ),
			url( r'(\w)', login_required( OrdersView.as_view() ) ),
			)"""
